import request from "@/utils/request";

//获取渠道列表
export function getChannelList(data) {
  return request({
    url: "/opts/channel",
    method: "POST",
    data,
  });
}
//获取国家option
export function getCountry(data) {
  return request({
    url: "/opts/country-options",
    method: "POST",
    data,
  });
}

//获取币种汇率
export function getRate(data) {
  return request({
    url: "/opts/currency-rate",
    method: "POST",
    data,
  });
}

//获取物流商数据
export const logisticsList = (data) =>
  request({
    url: `/opts/logistics`,
    method: "post",
    data,
  });

//获取费用名称
export const costList = (data) => {
  request({
    url: "/opts/costs-options",
    method: "post",
    data,
  });
};

//物流商账期配置
export const logisticsBpConfig = data =>
  request({
    url: `/opts/logistics-bp-config`,
    method: 'post',
    data,
  })
  //出口退税-获取报关公司选项
  
  export const optDeclareCompany = data =>
  request({
    url: `/opts/declare-company`,
    method: 'post',
    data,
  })